package relationships;

import org.apache.hadoop.hbase.util.Bytes;

public class InvestRelationship {

    private String invest_establishment_date;

    private String invest_outside_type;

    private String invest_reg_capital;

    private String invest_reg_capital_currency;

    public InvestRelationship(byte[] invest_establishment_date, byte[] invest_outside_type, byte[] invest_reg_capital, byte[] invest_reg_capital_currency) {
        this.invest_establishment_date = Bytes.toString(invest_establishment_date);
        this.invest_outside_type = Bytes.toString(invest_outside_type);
        this.invest_reg_capital = Bytes.toString(invest_reg_capital);
        this.invest_reg_capital_currency = Bytes.toString(invest_reg_capital_currency);
    }

    @Override
    public String toString() {
        return " INVEST {" +
                "invest_establishment_date: '" + invest_establishment_date + '\'' +
                ", invest_outside_type: '" + invest_outside_type + '\'' +
                ", invest_reg_capital: '" + invest_reg_capital + '\'' +
                ", invest_reg_capital_currency: '" + invest_reg_capital_currency + '\'' +
                '}';
    }
}
